package com.hiray.demos.visualEffect

import android.content.Context
import android.graphics.drawable.ClipDrawable
import android.graphics.drawable.ScaleDrawable
import android.os.Bundle
import androidx.annotation.IntDef
import androidx.appcompat.app.AppCompatActivity
import android.widget.SeekBar
import com.hiray.demos.R
import com.hiray.demos.widget.RandomTextView
import kotlinx.android.synthetic.main.activity_view.*


class ViewActivity : AppCompatActivity() {


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_view)
        randomTextView.setOnClickListener {
            randomTextView.roll()
        }
    }
}
